home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / PROGBLER / WASM211B.LZH / SHOW87.DOC < prev    next >
Text File  |  1988-03-07  |  3KB  |  57 lines

  1.  
  2.  
  3.                                SHOW87 Version 1.10
  4.                        Copyright (c) 1987-1988 Eric Tauck
  5.                                All Rights Reserved
  6.                                    03/06/1988
  7.  
  8.        SHOW87 is a memory resident program that displays the entire state
  9.        of an installed 8087 coprocessor chip.  This program will only
  10.        work if an 8087 is present.  SHOW87 is very useful when debugging
  11.        code that contains 8087 instructions.
  12.  
  13.        SHOW87 has two modes of installation.  The default is the shell
  14.        mode in which SHOW87, rather than making itself truly resident,
  15.        executes a DOS shell.  This allows you to deinstall SHOW87 by
  16.        typing EXIT at any DOS prompt.  The disadvantage of the shell mode
  17.        is that a second command processor must be invoked, which uses an
  18.        extra 3000 to 4000 bytes of memory.  The other type of
  19.        installation is the resident mode, which is specified by the /R
  20.        parameter. SHOW87 uses less memory in this mode, but cannot be
  21.        removed.  SHOW87 alone uses about 5700 bytes of memory.
  22.  
  23.        Once installed, the program may be invoked at any time by pressing
  24.        ALT-7. Invoking SHOW87 causes most of the upper half of the screen
  25.        to display the flags, registers, and other information regarding
  26.        the 8087.  Pressing any key exits the display and restores the
  27.        screen.  The normal sequence of events is to install SHOW87 before
  28.        debugging 8087 code and then removing SHOW87 when it is not needed
  29.        any longer.
  30.  
  31.        If SHOW87 cannot properly install itself, it will display an error
  32.        message and terminate.  The most common reasons for such an error
  33.        are insufficient memory and COMMAND.COM not found.  COMMAND.COM is
  34.        only needed when SHOW87 is run in the shell mode.  SHOW87 finds
  35.        the COMMAND.COM file by looking for the COMSPEC parameter in the
  36.        environment (see your DOS manual).
  37.  
  38.        SHOW87 displays all 8087 information, including the instruction
  39.        pointer, the operand pointer, the operation code; the control,
  40.        status, and tag words; the precision, rounding, and infinity
  41.        control settings; the stack top; the condition codes and their
  42.        various interpretations; the exception settings and interrupt mask
  43.        settings; and the register values.
  44.  
  45.        The condition code settings represent C3, C2, C1, and C0
  46.        respectively.  The Comp, Test, and Exam fields display the meaning
  47.        of the condition codes as returned by the FCOM, FTST, and FXAM
  48.        instructions.
  49.  
  50.        Register values are displayed in one of two ways.  If the number
  51.        has a tag setting of VALID, the number is displayed in decimal
  52.        format.  If the number has a tag setting of SPECIAL or EMPTY, a
  53.        hexadecimal dump of the number is displayed.  After the mantissa
  54.        and exponent, the type of value (as interpreted by the FXAM
  55.        instruction) is displayed.
  56.  
  57.